.class Lcom/estrongs/android/pop/view/FileExplorerActivity$z0;
.super Ljava/lang/Object;
.source "FileExplorerActivity.java"

# interfaces
.implements Lcom/estrongs/android/view/FeaturedGridViewWrapper$d;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/estrongs/android/pop/view/FileExplorerActivity;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/estrongs/android/pop/view/FileExplorerActivity;


# direct methods
.method constructor <init>(Lcom/estrongs/android/pop/view/FileExplorerActivity;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$z0;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(Landroidx/recyclerview/widget/RecyclerView;Landroid/view/View;IZZ)Z
    .locals 3

    .line 1
    iget-object p1, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$z0;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {p1}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->Z()Lcom/estrongs/android/view/FileGridViewWrapper;

    move-result-object p1

    const/4 v0, 0x1

    if-nez p1, :cond_0

    return v0

    .line 2
    :cond_0
    invoke-virtual {p1}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->z()I

    move-result v1

    .line 3
    iget-object v2, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$z0;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {v2}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->b0()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Lcom/estrongs/android/util/h0;->X1(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_2

    const/4 v2, 0x3

    if-lt v1, v2, :cond_2

    .line 4
    new-instance v1, Lorg/json/JSONObject;

    invoke-direct {v1}, Lorg/json/JSONObject;-><init>()V

    if-eqz p5, :cond_1

    const-string p5, "longpress"

    goto :goto_0

    :cond_1
    const-string p5, "click"

    :goto_0
    :try_start_0
    const-string v2, "way"

    .line 5
    invoke-virtual {v1, v2, p5}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    .line 6
    invoke-static {}, Lcom/estrongs/android/statistics/b;->b()Lcom/estrongs/android/statistics/b;

    move-result-object v1

    const-string v2, "sd"

    invoke-virtual {v1, v2, p5}, Lcom/estrongs/android/statistics/b;->a(Ljava/lang/String;Ljava/lang/String;)V
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_1

    :catch_0
    move-exception p5

    .line 7
    invoke-virtual {p5}, Lorg/json/JSONException;->printStackTrace()V

    .line 8
    :cond_2
    :goto_1
    iget-object p5, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$z0;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {p5}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->m0()V

    .line 9
    iget-object p5, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$z0;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {p5}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->b0()Ljava/lang/String;

    move-result-object p5

    .line 10
    iget-object v1, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$z0;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {p1, p3}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->e(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/estrongs/fs/g;

    iput-object v2, v1, Lcom/estrongs/android/pop/view/FileExplorerActivity;->A:Lcom/estrongs/fs/g;

    .line 11
    iget-object v1, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$z0;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    iget-object v1, v1, Lcom/estrongs/android/pop/view/FileExplorerActivity;->A:Lcom/estrongs/fs/g;

    if-nez v1, :cond_3

    return v0

    .line 12
    :cond_3
    instance-of v1, v1, Les/f40;

    if-eqz v1, :cond_4

    return v0

    .line 13
    :cond_4
    instance-of v1, p1, Lcom/estrongs/android/view/CompressGridViewWrapper;

    if-eqz v1, :cond_5

    .line 14
    move-object v1, p1

    check-cast v1, Lcom/estrongs/android/view/CompressGridViewWrapper;

    .line 15
    invoke-virtual {v1, p3}, Lcom/estrongs/android/view/CompressGridViewWrapper;->l(I)Z

    move-result p3

    if-eqz p3, :cond_5

    return v0

    :cond_5
    const/4 p3, 0x0

    .line 16
    invoke-virtual {p1}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->E()Z

    move-result v1

    if-eqz v1, :cond_7

    .line 17
    invoke-virtual {p1}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->x()Ljava/util/List;

    move-result-object p3

    .line 18
    iget-object v1, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$z0;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    iget-object v1, v1, Lcom/estrongs/android/pop/view/FileExplorerActivity;->A:Lcom/estrongs/fs/g;

    invoke-interface {p3, v1}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result p3

    if-nez p3, :cond_6

    .line 19
    invoke-virtual {p2}, Landroid/view/View;->performClick()Z

    :cond_6
    const/4 p3, 0x1

    goto :goto_2

    .line 20
    :cond_7
    iget-object v1, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$z0;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {v1}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->M0()V

    .line 21
    invoke-virtual {p2}, Landroid/view/View;->performClick()Z

    .line 22
    iget-object p2, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$z0;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-static {p2}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->b(Lcom/estrongs/android/pop/view/FileExplorerActivity;)Z

    move-result p2

    if-nez p2, :cond_8

    .line 23
    iget-object p2, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$z0;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {p2, v0}, Lcom/estrongs/android/pop/esclasses/ESAbsToolbarActivity;->g(Z)V

    .line 24
    iget-object p2, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$z0;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-static {p2, v0}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->b(Lcom/estrongs/android/pop/view/FileExplorerActivity;Z)Z

    .line 25
    :cond_8
    :goto_2
    sget-boolean p2, Lcom/estrongs/android/pop/j;->u:Z

    if-nez p2, :cond_c

    if-eqz p4, :cond_9

    goto :goto_3

    .line 26
    :cond_9
    invoke-static {p5}, Lcom/estrongs/android/util/h0;->V1(Ljava/lang/String;)Z

    move-result p2

    if-nez p2, :cond_c

    invoke-static {p5}, Lcom/estrongs/android/util/h0;->v1(Ljava/lang/String;)Z

    move-result p2

    if-nez p2, :cond_c

    .line 27
    invoke-static {p5}, Lcom/estrongs/android/util/h0;->i2(Ljava/lang/String;)Z

    move-result p2

    if-nez p2, :cond_c

    invoke-static {p5}, Lcom/estrongs/android/util/h0;->Q1(Ljava/lang/String;)Z

    move-result p2

    if-nez p2, :cond_c

    .line 28
    invoke-static {p5}, Lcom/estrongs/android/util/h0;->Y0(Ljava/lang/String;)Z

    move-result p2

    if-nez p2, :cond_c

    invoke-static {p5}, Lcom/estrongs/android/util/h0;->U0(Ljava/lang/String;)Z

    move-result p2

    if-nez p2, :cond_c

    .line 29
    invoke-static {p5}, Lcom/estrongs/android/util/h0;->F0(Ljava/lang/String;)Z

    move-result p2

    if-nez p2, :cond_c

    .line 30
    invoke-static {p5}, Lcom/estrongs/android/util/h0;->T1(Ljava/lang/String;)Z

    move-result p2

    if-eqz p2, :cond_a

    goto :goto_3

    .line 31
    :cond_a
    iget-object p2, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$z0;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-static {p2}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->c(Lcom/estrongs/android/pop/view/FileExplorerActivity;)Lcom/estrongs/android/ui/drag/DragLayer;

    move-result-object p2

    if-nez p2, :cond_b

    .line 32
    iget-object p2, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$z0;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-static {p2}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->d(Lcom/estrongs/android/pop/view/FileExplorerActivity;)V

    .line 33
    :cond_b
    iget-object p2, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$z0;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-static {p2}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->h(Lcom/estrongs/android/pop/view/FileExplorerActivity;)Lcom/estrongs/android/ui/drag/a;

    move-result-object p2

    new-instance p4, Lcom/estrongs/android/pop/view/FileExplorerActivity$z0$a;

    invoke-direct {p4, p0, p5}, Lcom/estrongs/android/pop/view/FileExplorerActivity$z0$a;-><init>(Lcom/estrongs/android/pop/view/FileExplorerActivity$z0;Ljava/lang/String;)V

    invoke-virtual {p2, p4}, Lcom/estrongs/android/ui/drag/a;->a(Lcom/estrongs/android/ui/drag/a$c;)V

    .line 34
    iget-object p2, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$z0;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-static {p2}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->h(Lcom/estrongs/android/pop/view/FileExplorerActivity;)Lcom/estrongs/android/ui/drag/a;

    move-result-object p2

    invoke-virtual {p2}, Lcom/estrongs/android/ui/drag/a;->f()Z

    move-result p2

    if-nez p2, :cond_c

    .line 35
    iget-object p2, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$z0;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    iget-object p4, p2, Lcom/estrongs/android/pop/view/FileExplorerActivity;->m:Lcom/estrongs/android/widget/q;

    iget-object p2, p2, Lcom/estrongs/android/pop/view/FileExplorerActivity;->A:Lcom/estrongs/fs/g;

    invoke-virtual {p4, p2, p1, p3}, Lcom/estrongs/android/widget/b;->a(Lcom/estrongs/fs/g;Lcom/estrongs/android/view/FileGridViewWrapper;Z)V

    :cond_c
    :goto_3
    return v0
.end method
